Page({
  data: {
      //设置当前完成步数
      Steps:-1,
      StepsList: ["第一步", "第二步","第san步","第4步", ],
      a:'',
      progress:80,
      percent:'',
  },
  onLoad(){
    let a=this.data.StepsList.length//步骤的总长度
    this.setData({
      a:a
    })
    this.setData({
      percent:100/(a-1)
    })
  },
  toNext(){
   let steps=this.data.Steps
   this.setData({
    Steps:steps+1
   })
  }
  })